<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>


        for (var i = 1; i < 10; i++) {


            var row = ""
            for( var j = 1; j<10 ; j++){

                // if(j>i){
                //     break;//终止本次循环
                // }
                if(j==i){
                    continue;//终止本次循环,进入下一次循环
                }
                row = row + " "+j+"*"+i+"="+(j*i)+" "
            }

            console.log(row);
            
        }








    </script>
</head>

<body>






</body>

</html>